Skip to content

examples/sleep: clarify /proc vs procfs wording #333

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 6, 2025

Conversation

Jordymalone
Copy link
Contributor

@Jordymalone Jordymalone commented Aug 6, 2025

Use "/proc" when the comment refers to the actual file (/proc/sleep) and keep "proc" when it denotes the procfs mechanism or related helper APIs. This makes the documentation consistent and avoids ambiguity between a file path and the proc filesystem itself.

Summary by Bito

This pull request enhances the clarity of comments in 'examples/sleep.c' by ensuring consistent references to the file path '/proc' and the procfs mechanism. This improves documentation quality and reduces ambiguity.

Use "/proc" when the comment refers to the actual file (/proc/sleep) and
keep "proc" when it denotes the procfs mechanism or related helper APIs.
This makes the documentation consistent and avoids ambiguity between a
file path and the proc filesystem itself.

Signed-off-by: Chia-Hao Chiu <[email protected]>
@EricccTaiwan
Copy link
Collaborator

LGTM!

@EricccTaiwan EricccTaiwan requested a review from jserv August 6, 2025 12:22
@jserv jserv merged commit 369fc46 into sysprog21:master Aug 6, 2025
1 check passed
@jserv
Copy link
Contributor

jserv commented Aug 6, 2025

Thank @Jordymalone for contributing!

@Jordymalone Jordymalone deleted the fix-comment branch August 7, 2025 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants